<?php

namespace Hui\StoreBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Hui\StoreBundle\Entity\KhuyenMai
 */
class KhuyenMai
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var string $tangPham
     */
    private $tangPham;

    /**
     * @var integer $giamGia
     */
    private $giamGia;

    /**
     * @var \DateTime $ngayBatDau
     */
    private $ngayBatDau;

    /**
     * @var \DateTime $ngayKetThuc
     */
    private $ngayKetThuc;

    /**
     * @var Hui\StoreBundle\Entity\LoaiKm
     */
    private $loaiKm;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set tangPham
     *
     * @param string $tangPham
     * @return KhuyenMai
     */
    public function setTangPham($tangPham)
    {
        $this->tangPham = $tangPham;
    
        return $this;
    }

    /**
     * Get tangPham
     *
     * @return string 
     */
    public function getTangPham()
    {
        return $this->tangPham;
    }

    /**
     * Set giamGia
     *
     * @param integer $giamGia
     * @return KhuyenMai
     */
    public function setGiamGia($giamGia)
    {
        $this->giamGia = $giamGia;
    
        return $this;
    }

    /**
     * Get giamGia
     *
     * @return integer 
     */
    public function getGiamGia()
    {
        return $this->giamGia;
    }

    /**
     * Set ngayBatDau
     *
     * @param \DateTime $ngayBatDau
     * @return KhuyenMai
     */
    public function setNgayBatDau($ngayBatDau)
    {
        $this->ngayBatDau = $ngayBatDau;
    
        return $this;
    }

    /**
     * Get ngayBatDau
     *
     * @return \DateTime 
     */
    public function getNgayBatDau()
    {
        return $this->ngayBatDau;
    }

    /**
     * Set ngayKetThuc
     *
     * @param \DateTime $ngayKetThuc
     * @return KhuyenMai
     */
    public function setNgayKetThuc($ngayKetThuc)
    {
        $this->ngayKetThuc = $ngayKetThuc;
    
        return $this;
    }

    /**
     * Get ngayKetThuc
     *
     * @return \DateTime 
     */
    public function getNgayKetThuc()
    {
        return $this->ngayKetThuc;
    }

    /**
     * Set loaiKm
     *
     * @param Hui\StoreBundle\Entity\LoaiKm $loaiKm
     * @return KhuyenMai
     */
    public function setLoaiKm(\Hui\StoreBundle\Entity\LoaiKm $loaiKm = null)
    {
        $this->loaiKm = $loaiKm;
    
        return $this;
    }

    /**
     * Get loaiKm
     *
     * @return Hui\StoreBundle\Entity\LoaiKm 
     */
    public function getLoaiKm()
    {
        return $this->loaiKm;
    }
}